package com.ruoyi.pcj.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.pcj.constant.TbConstant;
import lombok.Data;

import java.util.List;

/**
 * 贴吧-文章对象 pcj_tb_comment
 *
 * @author dk
 * @date 2024-03-12
 */
@Data
@TableName(TbConstant.pcjTbCommentReply)
public class PcjTbCommentReply extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 删除标志（0代表存在 1代表删除）
     */
    @TableLogic
    @TableField("del_flag")
    private Integer delFlag;

    /**
     * 评论人id
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 一级评论id
     */
    @TableField("comment_id")
    private String commentId;

    /**
     * 评论内容
     */
    @TableField("content")
    private String content;


    @TableField(exist = false)
    private List<String> fileUrls;

}
